package model

import "gorm.io/gorm"

// 闪送员表
type Delivery struct {
	gorm.Model
	Phone               string  `gorm:"type:varchar(18);commit:手机号"`
	NickName            string  `gorm:"type:varchar(20);commit:姓名"`
	Avatar              string  `gorm:"type:varchar(255);commit:头像URL"`
	CertificationStatus int     `gorm:"type:int;commit:认证状态: 1-已认证 2-未认证"`
	TotalAmount         float32 `gorm:"type:decimal(10,2);commit:总收入"`
	RelaName            string  `gorm:"type:varchar(19);commit:身份证"`
	HealthURL           string  `gorm:"type:varchar(255);commit:健康证明"`
}
